<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns="http://esb.wvus.org/ESB/Namespaces/Public/JoshuaServices.xsd" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://esb.wvus.org/ESB/Namespaces/Public/JoshuaServices.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="GetSponsorshipCountRequestInfo">
    <xs:sequence>
      <xs:element name="partyId" type="PartyIdInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GetSponsorshipCountRequest" type="GetSponsorshipCountRequestInfo" />
  <xs:simpleType name="PartyIdInfo">
    <xs:restriction base="xs:string" />
  </xs:simpleType>
  <xs:complexType name="GetSponsorshipCountResponseInfo">
    <xs:sequence>
      <xs:element name="partyId" type="PartyIdInfo" />
      <xs:element name="sponsorships" type="xs:integer" />
      <xs:element name="Response" type="ResponseInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="GetSponsorshipCountResponse" type="GetSponsorshipCountResponseInfo" />
  <xs:complexType name="ResponseInfo">
    <xs:sequence>
      <xs:element name="code" type="xs:string" />
      <xs:element minOccurs="0" name="description" type="xs:string" />
      <xs:element minOccurs="0" maxOccurs="unbounded" name="Details" type="ErrorDetailInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="PostConfirmationRequestInfo">
    <xs:sequence>
      <xs:element name="correlationId" type="xs:string" />
      <xs:element name="TransactionResult" type="ResponseInfo" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ErrorDetailInfo">
    <xs:sequence>
      <xs:element name="faultCode" type="xs:string" />
      <xs:element name="faultLevel" type="xs:string" />
      <xs:element minOccurs="0" name="faultDescription" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="PostConfirmationRequest" type="PostConfirmationRequestInfo" />
  <xs:element name="PostConfirmationResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Response" type="ResponseInfo" />
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>